package com.guigu.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class HabitusExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public HabitusExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("code is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("code is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("code =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("code <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("code >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("code >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("code <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("code <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("code like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("code not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("code in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("code not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("code between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("code not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNull() {
            addCriterion("username is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("username is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("username =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("username <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("username >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("username >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("username <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("username <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("username like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("username not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("username in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("username not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("username between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("username not between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andAgeIsNull() {
            addCriterion("age is null");
            return (Criteria) this;
        }

        public Criteria andAgeIsNotNull() {
            addCriterion("age is not null");
            return (Criteria) this;
        }

        public Criteria andAgeEqualTo(Integer value) {
            addCriterion("age =", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotEqualTo(Integer value) {
            addCriterion("age <>", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeGreaterThan(Integer value) {
            addCriterion("age >", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeGreaterThanOrEqualTo(Integer value) {
            addCriterion("age >=", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeLessThan(Integer value) {
            addCriterion("age <", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeLessThanOrEqualTo(Integer value) {
            addCriterion("age <=", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeIn(List<Integer> values) {
            addCriterion("age in", values, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotIn(List<Integer> values) {
            addCriterion("age not in", values, "age");
            return (Criteria) this;
        }

        public Criteria andAgeBetween(Integer value1, Integer value2) {
            addCriterion("age between", value1, value2, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotBetween(Integer value1, Integer value2) {
            addCriterion("age not between", value1, value2, "age");
            return (Criteria) this;
        }

        public Criteria andSexIsNull() {
            addCriterion("sex is null");
            return (Criteria) this;
        }

        public Criteria andSexIsNotNull() {
            addCriterion("sex is not null");
            return (Criteria) this;
        }

        public Criteria andSexEqualTo(String value) {
            addCriterion("sex =", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotEqualTo(String value) {
            addCriterion("sex <>", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThan(String value) {
            addCriterion("sex >", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThanOrEqualTo(String value) {
            addCriterion("sex >=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThan(String value) {
            addCriterion("sex <", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThanOrEqualTo(String value) {
            addCriterion("sex <=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLike(String value) {
            addCriterion("sex like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotLike(String value) {
            addCriterion("sex not like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexIn(List<String> values) {
            addCriterion("sex in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotIn(List<String> values) {
            addCriterion("sex not in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexBetween(String value1, String value2) {
            addCriterion("sex between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotBetween(String value1, String value2) {
            addCriterion("sex not between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andValuationdateIsNull() {
            addCriterion("valuationdate is null");
            return (Criteria) this;
        }

        public Criteria andValuationdateIsNotNull() {
            addCriterion("valuationdate is not null");
            return (Criteria) this;
        }

        public Criteria andValuationdateEqualTo(Date value) {
            addCriterionForJDBCDate("valuationdate =", value, "valuationdate");
            return (Criteria) this;
        }

        public Criteria andValuationdateNotEqualTo(Date value) {
            addCriterionForJDBCDate("valuationdate <>", value, "valuationdate");
            return (Criteria) this;
        }

        public Criteria andValuationdateGreaterThan(Date value) {
            addCriterionForJDBCDate("valuationdate >", value, "valuationdate");
            return (Criteria) this;
        }

        public Criteria andValuationdateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("valuationdate >=", value, "valuationdate");
            return (Criteria) this;
        }

        public Criteria andValuationdateLessThan(Date value) {
            addCriterionForJDBCDate("valuationdate <", value, "valuationdate");
            return (Criteria) this;
        }

        public Criteria andValuationdateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("valuationdate <=", value, "valuationdate");
            return (Criteria) this;
        }

        public Criteria andValuationdateIn(List<Date> values) {
            addCriterionForJDBCDate("valuationdate in", values, "valuationdate");
            return (Criteria) this;
        }

        public Criteria andValuationdateNotIn(List<Date> values) {
            addCriterionForJDBCDate("valuationdate not in", values, "valuationdate");
            return (Criteria) this;
        }

        public Criteria andValuationdateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("valuationdate between", value1, value2, "valuationdate");
            return (Criteria) this;
        }

        public Criteria andValuationdateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("valuationdate not between", value1, value2, "valuationdate");
            return (Criteria) this;
        }

        public Criteria andGentleIsNull() {
            addCriterion("gentle is null");
            return (Criteria) this;
        }

        public Criteria andGentleIsNotNull() {
            addCriterion("gentle is not null");
            return (Criteria) this;
        }

        public Criteria andGentleEqualTo(String value) {
            addCriterion("gentle =", value, "gentle");
            return (Criteria) this;
        }

        public Criteria andGentleNotEqualTo(String value) {
            addCriterion("gentle <>", value, "gentle");
            return (Criteria) this;
        }

        public Criteria andGentleGreaterThan(String value) {
            addCriterion("gentle >", value, "gentle");
            return (Criteria) this;
        }

        public Criteria andGentleGreaterThanOrEqualTo(String value) {
            addCriterion("gentle >=", value, "gentle");
            return (Criteria) this;
        }

        public Criteria andGentleLessThan(String value) {
            addCriterion("gentle <", value, "gentle");
            return (Criteria) this;
        }

        public Criteria andGentleLessThanOrEqualTo(String value) {
            addCriterion("gentle <=", value, "gentle");
            return (Criteria) this;
        }

        public Criteria andGentleLike(String value) {
            addCriterion("gentle like", value, "gentle");
            return (Criteria) this;
        }

        public Criteria andGentleNotLike(String value) {
            addCriterion("gentle not like", value, "gentle");
            return (Criteria) this;
        }

        public Criteria andGentleIn(List<String> values) {
            addCriterion("gentle in", values, "gentle");
            return (Criteria) this;
        }

        public Criteria andGentleNotIn(List<String> values) {
            addCriterion("gentle not in", values, "gentle");
            return (Criteria) this;
        }

        public Criteria andGentleBetween(String value1, String value2) {
            addCriterion("gentle between", value1, value2, "gentle");
            return (Criteria) this;
        }

        public Criteria andGentleNotBetween(String value1, String value2) {
            addCriterion("gentle not between", value1, value2, "gentle");
            return (Criteria) this;
        }

        public Criteria andQideficiencyIsNull() {
            addCriterion("qideficiency is null");
            return (Criteria) this;
        }

        public Criteria andQideficiencyIsNotNull() {
            addCriterion("qideficiency is not null");
            return (Criteria) this;
        }

        public Criteria andQideficiencyEqualTo(String value) {
            addCriterion("qideficiency =", value, "qideficiency");
            return (Criteria) this;
        }

        public Criteria andQideficiencyNotEqualTo(String value) {
            addCriterion("qideficiency <>", value, "qideficiency");
            return (Criteria) this;
        }

        public Criteria andQideficiencyGreaterThan(String value) {
            addCriterion("qideficiency >", value, "qideficiency");
            return (Criteria) this;
        }

        public Criteria andQideficiencyGreaterThanOrEqualTo(String value) {
            addCriterion("qideficiency >=", value, "qideficiency");
            return (Criteria) this;
        }

        public Criteria andQideficiencyLessThan(String value) {
            addCriterion("qideficiency <", value, "qideficiency");
            return (Criteria) this;
        }

        public Criteria andQideficiencyLessThanOrEqualTo(String value) {
            addCriterion("qideficiency <=", value, "qideficiency");
            return (Criteria) this;
        }

        public Criteria andQideficiencyLike(String value) {
            addCriterion("qideficiency like", value, "qideficiency");
            return (Criteria) this;
        }

        public Criteria andQideficiencyNotLike(String value) {
            addCriterion("qideficiency not like", value, "qideficiency");
            return (Criteria) this;
        }

        public Criteria andQideficiencyIn(List<String> values) {
            addCriterion("qideficiency in", values, "qideficiency");
            return (Criteria) this;
        }

        public Criteria andQideficiencyNotIn(List<String> values) {
            addCriterion("qideficiency not in", values, "qideficiency");
            return (Criteria) this;
        }

        public Criteria andQideficiencyBetween(String value1, String value2) {
            addCriterion("qideficiency between", value1, value2, "qideficiency");
            return (Criteria) this;
        }

        public Criteria andQideficiencyNotBetween(String value1, String value2) {
            addCriterion("qideficiency not between", value1, value2, "qideficiency");
            return (Criteria) this;
        }

        public Criteria andYangdeficiencyIsNull() {
            addCriterion("yangdeficiency is null");
            return (Criteria) this;
        }

        public Criteria andYangdeficiencyIsNotNull() {
            addCriterion("yangdeficiency is not null");
            return (Criteria) this;
        }

        public Criteria andYangdeficiencyEqualTo(String value) {
            addCriterion("yangdeficiency =", value, "yangdeficiency");
            return (Criteria) this;
        }

        public Criteria andYangdeficiencyNotEqualTo(String value) {
            addCriterion("yangdeficiency <>", value, "yangdeficiency");
            return (Criteria) this;
        }

        public Criteria andYangdeficiencyGreaterThan(String value) {
            addCriterion("yangdeficiency >", value, "yangdeficiency");
            return (Criteria) this;
        }

        public Criteria andYangdeficiencyGreaterThanOrEqualTo(String value) {
            addCriterion("yangdeficiency >=", value, "yangdeficiency");
            return (Criteria) this;
        }

        public Criteria andYangdeficiencyLessThan(String value) {
            addCriterion("yangdeficiency <", value, "yangdeficiency");
            return (Criteria) this;
        }

        public Criteria andYangdeficiencyLessThanOrEqualTo(String value) {
            addCriterion("yangdeficiency <=", value, "yangdeficiency");
            return (Criteria) this;
        }

        public Criteria andYangdeficiencyLike(String value) {
            addCriterion("yangdeficiency like", value, "yangdeficiency");
            return (Criteria) this;
        }

        public Criteria andYangdeficiencyNotLike(String value) {
            addCriterion("yangdeficiency not like", value, "yangdeficiency");
            return (Criteria) this;
        }

        public Criteria andYangdeficiencyIn(List<String> values) {
            addCriterion("yangdeficiency in", values, "yangdeficiency");
            return (Criteria) this;
        }

        public Criteria andYangdeficiencyNotIn(List<String> values) {
            addCriterion("yangdeficiency not in", values, "yangdeficiency");
            return (Criteria) this;
        }

        public Criteria andYangdeficiencyBetween(String value1, String value2) {
            addCriterion("yangdeficiency between", value1, value2, "yangdeficiency");
            return (Criteria) this;
        }

        public Criteria andYangdeficiencyNotBetween(String value1, String value2) {
            addCriterion("yangdeficiency not between", value1, value2, "yangdeficiency");
            return (Criteria) this;
        }

        public Criteria andYindeficiencyIsNull() {
            addCriterion("yindeficiency is null");
            return (Criteria) this;
        }

        public Criteria andYindeficiencyIsNotNull() {
            addCriterion("yindeficiency is not null");
            return (Criteria) this;
        }

        public Criteria andYindeficiencyEqualTo(String value) {
            addCriterion("yindeficiency =", value, "yindeficiency");
            return (Criteria) this;
        }

        public Criteria andYindeficiencyNotEqualTo(String value) {
            addCriterion("yindeficiency <>", value, "yindeficiency");
            return (Criteria) this;
        }

        public Criteria andYindeficiencyGreaterThan(String value) {
            addCriterion("yindeficiency >", value, "yindeficiency");
            return (Criteria) this;
        }

        public Criteria andYindeficiencyGreaterThanOrEqualTo(String value) {
            addCriterion("yindeficiency >=", value, "yindeficiency");
            return (Criteria) this;
        }

        public Criteria andYindeficiencyLessThan(String value) {
            addCriterion("yindeficiency <", value, "yindeficiency");
            return (Criteria) this;
        }

        public Criteria andYindeficiencyLessThanOrEqualTo(String value) {
            addCriterion("yindeficiency <=", value, "yindeficiency");
            return (Criteria) this;
        }

        public Criteria andYindeficiencyLike(String value) {
            addCriterion("yindeficiency like", value, "yindeficiency");
            return (Criteria) this;
        }

        public Criteria andYindeficiencyNotLike(String value) {
            addCriterion("yindeficiency not like", value, "yindeficiency");
            return (Criteria) this;
        }

        public Criteria andYindeficiencyIn(List<String> values) {
            addCriterion("yindeficiency in", values, "yindeficiency");
            return (Criteria) this;
        }

        public Criteria andYindeficiencyNotIn(List<String> values) {
            addCriterion("yindeficiency not in", values, "yindeficiency");
            return (Criteria) this;
        }

        public Criteria andYindeficiencyBetween(String value1, String value2) {
            addCriterion("yindeficiency between", value1, value2, "yindeficiency");
            return (Criteria) this;
        }

        public Criteria andYindeficiencyNotBetween(String value1, String value2) {
            addCriterion("yindeficiency not between", value1, value2, "yindeficiency");
            return (Criteria) this;
        }

        public Criteria andPhlegmaticIsNull() {
            addCriterion("phlegmatic is null");
            return (Criteria) this;
        }

        public Criteria andPhlegmaticIsNotNull() {
            addCriterion("phlegmatic is not null");
            return (Criteria) this;
        }

        public Criteria andPhlegmaticEqualTo(String value) {
            addCriterion("phlegmatic =", value, "phlegmatic");
            return (Criteria) this;
        }

        public Criteria andPhlegmaticNotEqualTo(String value) {
            addCriterion("phlegmatic <>", value, "phlegmatic");
            return (Criteria) this;
        }

        public Criteria andPhlegmaticGreaterThan(String value) {
            addCriterion("phlegmatic >", value, "phlegmatic");
            return (Criteria) this;
        }

        public Criteria andPhlegmaticGreaterThanOrEqualTo(String value) {
            addCriterion("phlegmatic >=", value, "phlegmatic");
            return (Criteria) this;
        }

        public Criteria andPhlegmaticLessThan(String value) {
            addCriterion("phlegmatic <", value, "phlegmatic");
            return (Criteria) this;
        }

        public Criteria andPhlegmaticLessThanOrEqualTo(String value) {
            addCriterion("phlegmatic <=", value, "phlegmatic");
            return (Criteria) this;
        }

        public Criteria andPhlegmaticLike(String value) {
            addCriterion("phlegmatic like", value, "phlegmatic");
            return (Criteria) this;
        }

        public Criteria andPhlegmaticNotLike(String value) {
            addCriterion("phlegmatic not like", value, "phlegmatic");
            return (Criteria) this;
        }

        public Criteria andPhlegmaticIn(List<String> values) {
            addCriterion("phlegmatic in", values, "phlegmatic");
            return (Criteria) this;
        }

        public Criteria andPhlegmaticNotIn(List<String> values) {
            addCriterion("phlegmatic not in", values, "phlegmatic");
            return (Criteria) this;
        }

        public Criteria andPhlegmaticBetween(String value1, String value2) {
            addCriterion("phlegmatic between", value1, value2, "phlegmatic");
            return (Criteria) this;
        }

        public Criteria andPhlegmaticNotBetween(String value1, String value2) {
            addCriterion("phlegmatic not between", value1, value2, "phlegmatic");
            return (Criteria) this;
        }

        public Criteria andMuggyIsNull() {
            addCriterion("muggy is null");
            return (Criteria) this;
        }

        public Criteria andMuggyIsNotNull() {
            addCriterion("muggy is not null");
            return (Criteria) this;
        }

        public Criteria andMuggyEqualTo(String value) {
            addCriterion("muggy =", value, "muggy");
            return (Criteria) this;
        }

        public Criteria andMuggyNotEqualTo(String value) {
            addCriterion("muggy <>", value, "muggy");
            return (Criteria) this;
        }

        public Criteria andMuggyGreaterThan(String value) {
            addCriterion("muggy >", value, "muggy");
            return (Criteria) this;
        }

        public Criteria andMuggyGreaterThanOrEqualTo(String value) {
            addCriterion("muggy >=", value, "muggy");
            return (Criteria) this;
        }

        public Criteria andMuggyLessThan(String value) {
            addCriterion("muggy <", value, "muggy");
            return (Criteria) this;
        }

        public Criteria andMuggyLessThanOrEqualTo(String value) {
            addCriterion("muggy <=", value, "muggy");
            return (Criteria) this;
        }

        public Criteria andMuggyLike(String value) {
            addCriterion("muggy like", value, "muggy");
            return (Criteria) this;
        }

        public Criteria andMuggyNotLike(String value) {
            addCriterion("muggy not like", value, "muggy");
            return (Criteria) this;
        }

        public Criteria andMuggyIn(List<String> values) {
            addCriterion("muggy in", values, "muggy");
            return (Criteria) this;
        }

        public Criteria andMuggyNotIn(List<String> values) {
            addCriterion("muggy not in", values, "muggy");
            return (Criteria) this;
        }

        public Criteria andMuggyBetween(String value1, String value2) {
            addCriterion("muggy between", value1, value2, "muggy");
            return (Criteria) this;
        }

        public Criteria andMuggyNotBetween(String value1, String value2) {
            addCriterion("muggy not between", value1, value2, "muggy");
            return (Criteria) this;
        }

        public Criteria andBloodIsNull() {
            addCriterion("blood is null");
            return (Criteria) this;
        }

        public Criteria andBloodIsNotNull() {
            addCriterion("blood is not null");
            return (Criteria) this;
        }

        public Criteria andBloodEqualTo(String value) {
            addCriterion("blood =", value, "blood");
            return (Criteria) this;
        }

        public Criteria andBloodNotEqualTo(String value) {
            addCriterion("blood <>", value, "blood");
            return (Criteria) this;
        }

        public Criteria andBloodGreaterThan(String value) {
            addCriterion("blood >", value, "blood");
            return (Criteria) this;
        }

        public Criteria andBloodGreaterThanOrEqualTo(String value) {
            addCriterion("blood >=", value, "blood");
            return (Criteria) this;
        }

        public Criteria andBloodLessThan(String value) {
            addCriterion("blood <", value, "blood");
            return (Criteria) this;
        }

        public Criteria andBloodLessThanOrEqualTo(String value) {
            addCriterion("blood <=", value, "blood");
            return (Criteria) this;
        }

        public Criteria andBloodLike(String value) {
            addCriterion("blood like", value, "blood");
            return (Criteria) this;
        }

        public Criteria andBloodNotLike(String value) {
            addCriterion("blood not like", value, "blood");
            return (Criteria) this;
        }

        public Criteria andBloodIn(List<String> values) {
            addCriterion("blood in", values, "blood");
            return (Criteria) this;
        }

        public Criteria andBloodNotIn(List<String> values) {
            addCriterion("blood not in", values, "blood");
            return (Criteria) this;
        }

        public Criteria andBloodBetween(String value1, String value2) {
            addCriterion("blood between", value1, value2, "blood");
            return (Criteria) this;
        }

        public Criteria andBloodNotBetween(String value1, String value2) {
            addCriterion("blood not between", value1, value2, "blood");
            return (Criteria) this;
        }

        public Criteria andQidepressionIsNull() {
            addCriterion("qidepression is null");
            return (Criteria) this;
        }

        public Criteria andQidepressionIsNotNull() {
            addCriterion("qidepression is not null");
            return (Criteria) this;
        }

        public Criteria andQidepressionEqualTo(String value) {
            addCriterion("qidepression =", value, "qidepression");
            return (Criteria) this;
        }

        public Criteria andQidepressionNotEqualTo(String value) {
            addCriterion("qidepression <>", value, "qidepression");
            return (Criteria) this;
        }

        public Criteria andQidepressionGreaterThan(String value) {
            addCriterion("qidepression >", value, "qidepression");
            return (Criteria) this;
        }

        public Criteria andQidepressionGreaterThanOrEqualTo(String value) {
            addCriterion("qidepression >=", value, "qidepression");
            return (Criteria) this;
        }

        public Criteria andQidepressionLessThan(String value) {
            addCriterion("qidepression <", value, "qidepression");
            return (Criteria) this;
        }

        public Criteria andQidepressionLessThanOrEqualTo(String value) {
            addCriterion("qidepression <=", value, "qidepression");
            return (Criteria) this;
        }

        public Criteria andQidepressionLike(String value) {
            addCriterion("qidepression like", value, "qidepression");
            return (Criteria) this;
        }

        public Criteria andQidepressionNotLike(String value) {
            addCriterion("qidepression not like", value, "qidepression");
            return (Criteria) this;
        }

        public Criteria andQidepressionIn(List<String> values) {
            addCriterion("qidepression in", values, "qidepression");
            return (Criteria) this;
        }

        public Criteria andQidepressionNotIn(List<String> values) {
            addCriterion("qidepression not in", values, "qidepression");
            return (Criteria) this;
        }

        public Criteria andQidepressionBetween(String value1, String value2) {
            addCriterion("qidepression between", value1, value2, "qidepression");
            return (Criteria) this;
        }

        public Criteria andQidepressionNotBetween(String value1, String value2) {
            addCriterion("qidepression not between", value1, value2, "qidepression");
            return (Criteria) this;
        }

        public Criteria andSpecialIsNull() {
            addCriterion("special is null");
            return (Criteria) this;
        }

        public Criteria andSpecialIsNotNull() {
            addCriterion("special is not null");
            return (Criteria) this;
        }

        public Criteria andSpecialEqualTo(String value) {
            addCriterion("special =", value, "special");
            return (Criteria) this;
        }

        public Criteria andSpecialNotEqualTo(String value) {
            addCriterion("special <>", value, "special");
            return (Criteria) this;
        }

        public Criteria andSpecialGreaterThan(String value) {
            addCriterion("special >", value, "special");
            return (Criteria) this;
        }

        public Criteria andSpecialGreaterThanOrEqualTo(String value) {
            addCriterion("special >=", value, "special");
            return (Criteria) this;
        }

        public Criteria andSpecialLessThan(String value) {
            addCriterion("special <", value, "special");
            return (Criteria) this;
        }

        public Criteria andSpecialLessThanOrEqualTo(String value) {
            addCriterion("special <=", value, "special");
            return (Criteria) this;
        }

        public Criteria andSpecialLike(String value) {
            addCriterion("special like", value, "special");
            return (Criteria) this;
        }

        public Criteria andSpecialNotLike(String value) {
            addCriterion("special not like", value, "special");
            return (Criteria) this;
        }

        public Criteria andSpecialIn(List<String> values) {
            addCriterion("special in", values, "special");
            return (Criteria) this;
        }

        public Criteria andSpecialNotIn(List<String> values) {
            addCriterion("special not in", values, "special");
            return (Criteria) this;
        }

        public Criteria andSpecialBetween(String value1, String value2) {
            addCriterion("special between", value1, value2, "special");
            return (Criteria) this;
        }

        public Criteria andSpecialNotBetween(String value1, String value2) {
            addCriterion("special not between", value1, value2, "special");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}